1bashThis demonstrates exporting a variable to the environment, making it available to child processes.export foobash internalprocess managementenvironment variablesvariable export